package com.example.demo.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.Commdity;
import com.example.demo.entity.Evaluate;
import com.example.demo.mapper.CommdityMapper;
import com.example.demo.mapper.EvaluateMapper;
import com.example.demo.service.CommdityService;
import com.example.demo.service.EvaluateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EvaluateImpl extends ServiceImpl<EvaluateMapper, Evaluate> implements EvaluateService {
    @Resource
    public EvaluateMapper evaluateMapper;


    public List<Evaluate> getevaluatelist(int commodityid) {
        return evaluateMapper.findevaluate(commodityid);
    }
}
